import random

light = []
for i in range(12):
    b = random.randint(0, 1)
    light.append(b)

start = input("请输入1开始游戏：")
print("亮灯情况：%s" % str(light))
begin = random.randint(0, 11)

if (light[begin] == 0):
    print("你打到了第 %d 个灯" % (begin + 1))
    print("游戏结果 True")
elif (light[begin] == 1):
    print("你打到了第 %d 个灯" % (begin + 1))
    print("游戏结果 False")
